package lyc.springcloud.admin.dto.systemManagerDto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lyc.springcloud.admin.utils.PageUtil;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResourceManagerDto extends PageUtil implements Serializable {
    private static final long serialVersionUID = 1L;
    private String resourceId;
    private String parentId;
    private String resourceName;
    private String resourceUrl;
    private Integer isLeaf;
    private String icon;
    private Integer priority;
    private Integer status;
    private Integer isDelete;
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT + 8")
    private Date createDate;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT + 8")
    private Date updateDate;
}
